x86/emul: Don't opencode CR0_TS in CLTS handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 19 Dec 2016 10:19:29 +0000 (10:19 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 20 Dec 2016 11:37:07 +0000 (11:37 +0000)
commiteafc8ad471de861132b15e3268f72517c128a298
tree04ed2f51a800ed57a8a29190676f630a152ded95
parentd6ac8e22c7c5525db1da79fd1d1f03ee6b557f0d
x86/emul: Don't opencode CR0_TS in CLTS handling

Also replace implicit 0 checks with X86EMUL_OKAY

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c